package com.dev.op.VO;

import com.dev.op.entity.Result;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class TaskVO {
    private String submissionId;
    private List<Result> results;
    private int testCaseCnt;
    private String submitterId;
    private String code;
    private String problemId;
    private String problemTitle;
    private String language;
    private Date submitDate;

    @Override
    public String toString() {
        return "TaskVO{" +
                "submissionId='" + submissionId + '\'' +
                ", results=" + results +
                ", testCaseCnt=" + testCaseCnt +
                ", submitterId='" + submitterId + '\'' +
                ", code='" + code + '\'' +
                ", problemId='" + problemId + '\'' +
                ", problemTitle='" + problemTitle + '\'' +
                ", language='" + language + '\'' +
                ", submitDate=" + submitDate +
                '}';
    }
}
